package com.zjitc.aspect;

import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Before;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/14 15:24
 * @description:
 */
public class Aspect {
  @Before("pointcutA()")
  public void beforeA() {
    System.out.println("init before a");
  }

  @After("pointcutA()")
  public void afterA() { System.out.println("destroy after a");}

}
